package com.ruoyi.system.service.module.estate;

import com.ruoyi.common.core.mybatisplus.core.BaseService;
import com.ruoyi.system.domain.module.estate.EstateBuild;
import com.ruoyi.system.domain.module.estate.EstateBuildFloor;
import com.ruoyi.system.domain.module.estate.EstateBuildUnit;
import com.ruoyi.system.domain.module.estate.EstateRoom;
import com.ruoyi.system.domain.module.property.PropertyFeeOrderTemplate;

import java.util.List;

/**
 * 小区内的房屋列信息Service接口
 *
 * @author ruoyi
 * @date 2022-06-28
 */
public interface IEstateRoomService extends BaseService<EstateRoom> {
	/**
	 *
	 * @param estateRoom
	 * @return
	 */
	int updateRoom(EstateRoom estateRoom);

	/**
	 * 发送催费短信到业主手机
	 * @param estateRoom
	 * @return
	 */
	int sendSmsByPropertyFeeToRoomUser(EstateRoom estateRoom);

	List<EstateRoom> getRoomListByUserId(int userId);

	List<EstateBuild> getEstateBuildList(Integer estateId,Integer propertyId);

	List<EstateBuildUnit> getEstateBuildUnitList(String buildNo,Integer buildId,Integer estateId);

	List<EstateBuildFloor> getEstateBuildFloorList(String buildNo,String unitNo, Integer buildId,Integer unitId,Integer estateId,Integer propertyId);
}
